package itheima.zuoye.test3;
import java.sql.SQLOutput;
import java.util.ArrayList;
import java.util.List;
public class TestAccount {
    public static void main(String[] args) {
        List<Account> accounts = new ArrayList<>();
        Account a1 = new Account(0,"张三",1000);
        Account a2 = new Account(0,"李四",2000);
        Account a3 = new Account(0,"老王",3000);
        System.out.println(a1.getAccountNumber()+", " +a1.getName()+", " + a1.getMoney());
        System.out.println(a2.getAccountNumber()+", " +a2.getName()+", " + a2.getMoney());
        System.out.println(a3.getAccountNumber()+", " +a3.getName()+", " + a3.getMoney());



    }
}
